package com.powernode.service.impl;

import com.powernode.domain.ProductParams;
import com.powernode.mapper.ProductParamsMapper;
import com.powernode.service.ProductParamsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class ProductParamsServiceImpl implements ProductParamsService{

    @Resource
    private ProductParamsMapper productParamsMapper;

    @Override
    public int deleteByPrimaryKey(String paramId) {
        return productParamsMapper.deleteByPrimaryKey(paramId);
    }

    @Override
    public int insert(ProductParams record) {
        return productParamsMapper.insert(record);
    }

    @Override
    public int insertSelective(ProductParams record) {
        return productParamsMapper.insertSelective(record);
    }

    @Override
    public ProductParams selectByPrimaryKey(String paramId) {
        return productParamsMapper.selectByPrimaryKey(paramId);
    }

    @Override
    public int updateByPrimaryKeySelective(ProductParams record) {
        return productParamsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ProductParams record) {
        return productParamsMapper.updateByPrimaryKey(record);
    }

}
